from django.conf.urls import patterns, include, url
from django.contrib import admin
from hotels import views

admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'django_simple_backend_user_model.views.home', name='home'),
    # url(r'^django_simple_backend_user_model/', include('django_simple_backend_user_model.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', views.index, name='index'),
    url(r'^accounts/', include('accounts.urls')),
    url(r'^hotels/', include('hotels.urls')),
    )